#include "stdafx.h"
using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
	try
	{
		ElectricDevice el("pechka",12);
	}
	catch(WrongParameterExeption)
	{
		cout << "Wrong Parameter" << endl;
		return -1;
	}
	cout << "success" << endl;
	return 0;
}
